01. Fetch and Show First Planet
Fetch and Show First Planet
Fetch and Show First Planet Quiz
Instructions
First, if you haven't already, read this and follow the instructions on working with the Exoplanet Explorer repo.
- Checkout the
first-thumb-startbranch and navigate toapp/scripts/app.js. - Get the planet data and add the search header.
- Create the first thumbnail with
createPlanetThumb(data). - Handle errors!
- Pass
'unknown'to the search header. - Log the error.
- Pass
Checkout the first-thumb-solution branch to see my code!
Solution
2.1 Fetch and Show First Planet Solution